package avicit.im.lantop.employeeshortcutkeys.service;

import avicit.im.lantop.employeeshortcutkeys.domain.EmployeeShortcutKeys;

import java.util.List;
import java.util.Map;

public interface EmployeeshortcutService {
    /**
     * 获得所有首页快捷键数据
     * @return
     * @throws Exception
     */
    public List<Map<String, Object>> getEmpItem()throws  Exception;

    /**
     * 根据Id获取对应的快捷键数据
     * @param id
     * @return
     * @throws Exception
     */
    public EmployeeShortcutKeys getEmpItemById(String id)throws  Exception;

    public  void  updateEmpItemById(EmployeeShortcutKeys em)throws  Exception;
    
    public  List<Map<String, Object>> getEmp()throws Exception;
}
